

<%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: {class: "form-signin"}) do |f| %>
  <%= f.error_notification %>
  <h2 class="text-center">会员登记</h2>
  <%= f.input :name, required: true, autofocus: true, placeholder: "用户名",label: false, input_html: {class: "form_control"} %>
    <%= f.input :email, required: true, placeholder: "Email地址",label: false, input_html: {class: "form_control"} %>
    <%= f.input :password, required: true, placeholder: "密码",label: false, input_html: {class: "form_control"} %>
    <%= f.input :password_confirmation, required: true, placeholder: "请确认密码",label: false, input_html: {class: "form_control" }%>
    <%= f.button :submit, "马上注册", class: "btn btn-primary btn-block" %>
  
<% end %>

<%= render "devise/shared/links" %>
